<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!-- Copyright 1997 The Open Group, All Rights Reserved -->
<title>uupick</title>
</head><body bgcolor=white>
<center>
<font size=2>
The Single UNIX &reg; Specification, Version 2<br>
Copyright &copy; 1997 The Open Group

</font></center><hr size=2 noshade>
<h4><a name = "tag_001_014_2714">&nbsp;</a>NAME</h4><blockquote>
uupick - receive public system-to-system file copies (<b><a href="intro.html#tag_001_003_003">LEGACY</a></b>)
</blockquote><h4><a name = "tag_001_014_2715">&nbsp;</a>SYNOPSIS</h4><blockquote>
<pre><code>

uupick <b>[</b>-s <i>system</i><b>]</b>
</code>
</pre>
</blockquote><h4><a name = "tag_001_014_2716">&nbsp;</a>DESCRIPTION</h4><blockquote>
The
<i>uupick</i>
utility
can be used by a user to
accept or reject the files transmitted to the user.
Specifically,
<i>uupick</i>
searches the public directory (called
<i>"PUBDIR"</i>;
the actual location of
<i>PUBDIR</i>
is implementation-dependent)
on the user's system for files sent to the user.
For each entry (file or directory) found,
the user is prompted for each file or directory.
The
<i>uupick</i>
utility
then reads a line from the standard input to determine the
disposition of the file.
The user's possible responses are:
<dl compact>

<dt>newline<dd>Go on to next entry.

<dt><b>d</b><dd>Delete the entry.

<dt><b>m[</b><i>dir</i><b>]</b><dd>Move the entry to named directory
<i>dir</i>.
If
<i>dir</i>
is not specified as an absolute pathname
a destination relative to the current directory is assumed.
If no destination is given, the default is the current directory.

<dt><b>a[</b><i>dir</i><b>]</b><dd>Same as
m
except moving all the files sent from
<i>system</i>.

<dt><b>p</b><dd>Write the content of the file to standard output.

<dt><b>q</b><dd>Stop and exit.

<dt>&lt;EOF&gt;<dd>Same as
q.

<dt><b>!</b><i>command</i><dd>
Escape to the command interpreter to execute
<i>command</i>.

<dt><b>*</b><dd>Write a usage summary for
the possible responses described here.

</dl>
</blockquote><h4><a name = "tag_001_014_2717">&nbsp;</a>OPTIONS</h4><blockquote>
The
<i>uupick</i>
utility supports the <b>XBD</b> specification, <a href="../xbd/utilconv.html#usg"><b>Utility Syntax Guidelines</b>&nbsp;</a> .
The following option is supported:
<dl compact>

<dt><b>-s&nbsp;</b><i>system</i>
<dd>
Process only files sent from
<i>system</i>.

</dl>
</blockquote><h4><a name = "tag_001_014_2718">&nbsp;</a>OPERANDS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_001_014_2719">&nbsp;</a>STDIN</h4><blockquote>
Used to read the user's response to each file or directory prompt.
</blockquote><h4><a name = "tag_001_014_2720">&nbsp;</a>INPUT FILES</h4><blockquote>
The files to be copied are regular files.
</blockquote><h4><a name = "tag_001_014_2721">&nbsp;</a>ENVIRONMENT VARIABLES</h4><blockquote>
The following environment variables affect the execution of
<i>uupick</i>:
<dl compact>

<dt><i>LANG</i><dd>Provide a default value for the internationalisation variables
that are unset or null.
If
<i>LANG</i>
is unset or null, the corresponding value from the
implementation-dependent default locale will be used.
If any of the internationalisation variables contains an invalid setting, the
utility will behave as if none of the variables had been defined.

<dt><i>LC_ALL</i><dd>
If set to a non-empty string value,
override the values of all the other internationalisation variables.


<dt><i>LC_CTYPE</i><dd>
Determine the
locale for the interpretation of sequences of bytes of text data as
characters (for example, single- as opposed to multi-byte characters
in arguments and input files).

<dt><i>LC_MESSAGES</i><dd>
Determine the locale that should be used to affect
the format and contents of diagnostic
messages written to standard error,
and informative messages written to standard output.

<dt><i>NLSPATH</i><dd>
Determine the location of message catalogues
for the processing of
<i>LC_MESSAGES .
</i>
</dl>
</blockquote><h4><a name = "tag_001_014_2722">&nbsp;</a>ASYNCHRONOUS EVENTS</h4><blockquote>
Default.
</blockquote><h4><a name = "tag_001_014_2723">&nbsp;</a>STDOUT</h4><blockquote>
Prompts are written to standard output in an unspecified format.
The prompt will contain at least the sending system name
and the name of the subject file or directory.
</blockquote><h4><a name = "tag_001_014_2724">&nbsp;</a>STDERR</h4><blockquote>
Used only for diagnostic messages.
</blockquote><h4><a name = "tag_001_014_2725">&nbsp;</a>OUTPUT FILES</h4><blockquote>
The output files are copies of the input files.
</blockquote><h4><a name = "tag_001_014_2726">&nbsp;</a>EXTENDED DESCRIPTION</h4><blockquote>
None.
</blockquote><h4><a name = "tag_001_014_2727">&nbsp;</a>EXIT STATUS</h4><blockquote>
The following exit values are returned:
<dl compact>

<dt>0<dd>Successful completion.

<dt>&gt;0<dd>An error occurred.

</dl>
</blockquote><h4><a name = "tag_001_014_2728">&nbsp;</a>CONSEQUENCES OF ERRORS</h4><blockquote>
Default.
</blockquote><h4><a name = "tag_001_014_2729">&nbsp;</a>APPLICATION USAGE</h4><blockquote>
There is no option (such as the
<i>SHELL</i>
variable) to specify a different command interpreter for use with
!<I>command</I>.
<p>
Writing a file using
p
can cause problems on some terminals if
the file is not a text file or contains
control characters.
</blockquote><h4><a name = "tag_001_014_2730">&nbsp;</a>EXAMPLES</h4><blockquote>
None.
</blockquote><h4><a name = "tag_001_014_2731">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_001_014_2732">&nbsp;</a>SEE ALSO</h4><blockquote>
<i><a href="uucp.html">uucp</a></i>,
<i><a href="uuto.html">uuto</a></i>,
<i><a href="uustat.html">uustat</a></i>,
<i><a href="uux.html">uux</a></i>.
<br>
</blockquote><hr size=2 noshade>
<center><font size=2>
UNIX &reg; is a registered Trademark of The Open Group.<br>
Copyright &copy; 1997 The Open Group
<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]

</font></center><hr size=2 noshade>
</body></html>
